$(function(){

    ranking.init({
        container:$('#recommend'),
        title:'热门文章',
        data:[
            {
                date:'02/12',
                href:"baidu.com",
                title:"奥斯卡接电话卡会受到卡号可视对讲"
            }
        ]
    })

    ranking.init({
        container:$('#recommend'),
        title:'热门文章',
        data:[
            {
                date:'02/12',
                href:"baidu.com",
                title:"奥斯卡接电话卡会受到卡号可视对讲"
            }
        ]
    })



    var typeModel = function (data) {
        $('#type-model').html((function(){
                var html=""
            for(var i = 0; i<4; i++){
                html+=' <li  class="on"  >' +
                    '            <a target="_blank" href="#">' +
                    '                <img src="/rew/images/thumb_1450711736_3523.png" /><span>' +
                    '                        十二盟市机构                </span>' +
                    '            </a>' +
                    '        </li>'
            }

            return html
        })())
    };

      var init =function () {

          console.log($.funcUrl("page"))

          typeModel()
        };
        init()

})